<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>登录 - 我的第一个网站</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            font-family: "微软雅黑", sans-serif;
            background-color: #f5f5f5;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }
        .login-container {
            width: 380px;
            background-color: #fff;
            border-radius: 16px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            padding: 30px;
            box-sizing: border-box;
        }
        .login-logo {
            text-align: center;
            margin-bottom: 25px;
        }
        .login-logo img {
            width: 100px;
            height: 50px;
            object-fit: contain;
        }
        .login-title {
            font-size: 24px;
            color: #333;
            text-align: center;
            margin-bottom: 30px;
            font-weight: bold;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            font-size: 14px;
            color: #666;
            margin-bottom: 8px;
        }
        .form-control {
            width: 100%;
            height: 44px;
            padding: 0 15px;
            border: 1px solid #eee;
            border-radius: 8px;
            font-size: 16px;
            box-sizing: border-box;
            transition: border-color 0.2s;
        }
        .form-control:focus {
            outline: none;
            border-color: #4299e1;
            box-shadow: 0 0 0 2px rgba(66, 153, 225, 0.1);
        }
        .login-btn {
            width: 100%;
            height: 48px;
            background: linear-gradient(135deg, #4299e1, #3182ce);
            border: none;
            border-radius: 8px;
            color: #fff;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }
        .login-btn:hover {
            background: linear-gradient(135deg, #3182ce, #2b6cb0);
            box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
        }
        .login-footer {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            font-size: 14px;
        }
        .login-footer a {
            color: #4299e1;
            text-decoration: none;
        }
        .login-footer a:hover {
            text-decoration: underline;
        }
        .register-link {
            text-align: center;
            margin-top: 25px;
            font-size: 14px;
        }
        .register-link a {
            color: #4299e1;
            font-weight: 500;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <div class="login-container">
        <div class="login-logo">
            <img src="https://picsum.photos/80/40" alt="网站logo">
        </div>
        <h2 class="login-title">账号登录</h2>
        <form>
            <div class="form-group">
                <label for="username">用户名/手机号</label>
                <input type="text" id="username" class="form-control" placeholder="请输入用户名或手机号" required>
            </div>
            <div class="form-group">
                <label for="password">密码</label>
                <input type="password" id="password" class="form-control" placeholder="请输入密码" required>
            </div>
            <div class="login-footer">
                <label>
                    <input type="checkbox" style="vertical-align: middle; margin-right: 5px;"> 记住我
                </label>
                <a href="#">忘记密码？</a>
            </div>
            <button type="submit" class="login-btn">登录</button>
            <div class="register-link">
                还没有账号？<a href="register.html">立即注册</a>
            </div>
        </form>
    </div>
</body>
</html>
